package com.medusa.aps.business.modules.plan.model.input;

import com.medusa.aps.business.global.model.o.RangeDate;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @author wangkang
 */
@Data
public class SuggestedPlanListParam {
    /**
     * 当前页
     */
    @Schema(description = "当前页")
    private Integer current;
    /**
     * 每页显示数量
     */
    @Schema(description = "每页显示数量")
    private Integer size;
    /**
     * 订单号
     */
    @Schema(description = "订单号")
    private String orderNumber;
    /**
     * 物料编码
     */
    @Schema(description = "物料编码")
    private String materialCode;
    /**
     * 物料名称
     */
    @Schema(description = "物料名称")
    private String materialName;

    @Schema(description = "订单交期")
    private RangeDate orderDeliveryTime = new RangeDate();
    /**
     * 计划开始时间
     */
    @Schema(description = "计划开始时间 yyyy-MM-dd", example = "2023-09-09")
    private LocalDate planStartTime;
    /**
     * 计划完成时间
     */
    @Schema(description = "计划完成时间 yyyy-MM-dd", example = "2023-09-09")
    private LocalDate planCompletionTime;
    /**
     * 选中的主键id集合
     */
    @Schema(description = "选中的主键id集合")
    private List<Integer> ids;
}
